#include "guiButton.h"

guiButton::guiButton(s32 x, s32 y, s32 w, s32 h, 
		core::stringw caption, guiComponent* parent) :
		guiComponent(parent) {
	m_text = caption;
	setXLoc(x);
	setYLoc(y);
	m_width = w;
	m_height = h;
	guiFactory::Instance()->createMe(this,getID());
}

guiButton::~guiButton() {
}
